<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
<h2>登录页面</h2>
<form>
    账号: <input type="text" name="username"><br>
    密码: <input type="password" name="password"><br>
    <input type="submit" value="登录">


</form>
<div th:text="${name}"></div>
<p th:utext="${user}" id="ceshi" ></p>
<div th:each="user:${name}" th:text="${user}"></div>
</body>
<style type="text/css">
    div {color:gold;background: black}
</style>
</html>